package com.itheima.fileIO;

import java.io.FileInputStream;
import java.io.IOException;

public class InputDemo01 {
    public static void main(String[] args) throws IOException {
        FileInputStream fis=new FileInputStream("FileIO\\a.txt");
        int b;
        while ((b=fis.read())!=-1){
            System.out.println(((char) b));
        }
        fis.close();
    }
}
